﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SchoolSite.Web.CommonCode
{
    public class FenyeCM
    {
        public static void checkParam(){
            if(Pagesize == 0)
            {
                Pagesize = 15;
            }
            if(PageIndex == 0)
            {
                PageIndex = 1;
            }
            if(PageCount == 0)
            {
                PageCount = 1;
            }
        }

        public static int Pagesize { get; set; }

        public static int PageIndex
        {
            get;
            set;
        }

        public static int PageCount {
            get;set;
        }

        public static int ItemCount { get; set; }

        public static string RequestString { get; set; }
    }
}